class GameFile < ApplicationRecord
  validates :name, presence: true
  validates :icon_path, presence: true
  validates :index_path, presence: true
  enum state: [:"下架", :"上架", :"测试"]
  enum game_type: [:"其他", :"智益", :"射击",:"赛车"]
  enum game_level: [:"垃圾", :"一般", :"好玩",:"超好玩", "神作"]
end